package com.itheima.proxydemo;

public class Bigstar implements Star {
    private String name;

    public Bigstar(String name) {

        this.name = name;
    }

    public Bigstar() {
    }
    public String sing(String name){

        System.out.println(
                this.name+"正在唱"+name);
        return "谢谢";
    }
    public void dance(){

        System.out.println(
                this.name+"正在跳舞");

    }
}
